package com.sy.mapper;

import com.sy.entity.CollectionContent;
import com.sy.entity.CollectionContentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CollectionContentMapper {
    long countByExample(CollectionContentExample example);

    int deleteByExample(CollectionContentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CollectionContent record);

    int insertSelective(CollectionContent record);

    List<CollectionContent> selectByExample(CollectionContentExample example);

    CollectionContent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CollectionContent record, @Param("example") CollectionContentExample example);

    int updateByExample(@Param("record") CollectionContent record, @Param("example") CollectionContentExample example);

    int updateByPrimaryKeySelective(CollectionContent record);

    int updateByPrimaryKey(CollectionContent record);
}